package com.lzh.tiktok.user;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.lzh.tiktok.user.dao")
@EnableFeignClients
@SpringBootApplication(scanBasePackages = "com.lzh.**")
@EnableTransactionManagement
@EnableDiscoveryClient
@Slf4j
public class TiktokUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(TiktokUserApplication.class, args);
    }

}
